﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="updateBlogroll.aspx.cs" Inherits="admin_updateBlogroll" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>修改友情链接</title>
    <link href="../css/body.css" rel="stylesheet" type="text/css" />
    <link href="../css/table.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        body
        {
            text-align: center;
        }
        .main
        {
            text-align: left;
            width: 400px;
            margin-left:50px;
            margin-top:30px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
     <div class="main">
    
        <table width="400px" class="tab"  align="center">
            <tr>
                <td width="100">
                    网站名称：</td>
                <td width="300">
                    <asp:TextBox ID="tb_siteName" runat="server" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="tb_siteName" ErrorMessage="*">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td width="100" rowspan="2">
                    网站LOGO：</td>
                <td width="300">
                    <asp:TextBox ID="tb_siteLogo" runat="server" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="tb_siteLogo" ErrorMessage="*">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                
                <td width="300">
                    <asp:FileUpload ID="fud_img" runat="server" Width="190px" />
                    &nbsp;&nbsp;
                    <asp:Button ID="btn_upload" runat="server" Text="上传" 
                        onclick="btn_upload_Click" Width="50px" CausesValidation="False"/></td>
            </tr>
            <tr>
                <td width="100">
                    网站地址：</td>
                <td width="300">
                    <asp:Label ID="http" runat="server" Text="http://" Width="40px"></asp:Label>
                    <asp:TextBox ID="tb_siteLink" runat="server" Width="210px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ControlToValidate="tb_siteLink" ErrorMessage="*">*</asp:RequiredFieldValidator>
                    <br />
                    </td>
            </tr>
            <tr>
                <td width="100">
                    网站描述：</td>
                <td width="300">
                    <asp:TextBox ID="tb_siteAlt" runat="server" Width="250px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:Button ID="btn_ok" runat="server" onclick="btn_ok_Click" Text="修改" 
                        Width="60px" />
&nbsp;&nbsp;
                    <asp:Button ID="btn_res" runat="server" onclick="btn_res_Click" Text="重填" 
                        Width="60px" />
                    </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
